<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>超级助手</title>
	<link rel="stylesheet" href="">
	
  	<!-- <script src="https://superhelper-online.bj.bcebos.com/jssdk/js/SuperHelper.iife.js"></script> -->


	<script>
        const s = document.createElement('script')
        s.src="https://superhelper-online.bj.bcebos.com/jssdk/js/SuperHelper.iife.js"
        document.body.appendChild(s)

		const h = 'https://superhelper.bce.baidu.com'
		const {login, Renderer} = window.SuperHelper;
		// other codes...
		// 第三方逻辑，已获取到用于登录的token和tenantId
		login({
		    ak: '447294783fdc6abb4acf435b466f7d9f',
		    sk: '038ecd34da3a1c9f5bc58c56461c3349',
		    // 指定登录域名，可选
		    host: h
		})


		const renderer = new Renderer({
            // 指定超级助理页面地址，可选
            // aiChatHost: 'http://localhost:3000',
            aiChatHost: h
        });
        renderer.render();
	</script>
</head>
<body>
	
</body>
</html>